using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 护肤产品成分仓储接口
    /// </summary>
    public interface ISkincareProductIngredientRepository : IRepository<SkincareProductIngredient>
    {
        Task<IEnumerable<SkincareProductIngredient>> GetByProductIdAsync(Guid productId);
        Task<IEnumerable<SkincareProductIngredient>> GetByIngredientNameAsync(string ingredientName);
        Task<IEnumerable<SkincareProductIngredient>> GetByIngredientFunctionAsync(string function);
    }
}